const mongoose = require("mongoose");
// 浏览菜谱的数据
module.exports = mongoose.model("liulan", {
    // 用户id
    user_id: {
        type: mongoose.SchemaTypes.ObjectId,
        ref: 'user',
    },
    // 点击进入菜谱详情的时间
    liulan_time: {
        type: String,
        require: true
    },

});